查询订单剩余待分金额
可调用此接口查询订单剩余待分金额
请求参数 | 类型 | 描述 |
---|---|---|
transaction_id | string | 微信订单号 |
php
$instance->v3->brand->profitsharing->orders->_transaction_id_->amounts->getAsync([
'transaction_id' => '4208450740201411110007820472',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/brand/profitsharing/orders/{transaction_id}/amounts')->getAsync([
'transaction_id' => '4208450740201411110007820472',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/brand/profitsharing/orders/{transaction_id}/amounts']->getAsync([
'transaction_id' => '4208450740201411110007820472',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->brand->profitsharing->orders->_transaction_id_->amounts->get([
'transaction_id' => '4208450740201411110007820472',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/brand/profitsharing/orders/{transaction_id}/amounts')->get([
'transaction_id' => '4208450740201411110007820472',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/brand/profitsharing/orders/{transaction_id}/amounts']->get([
'transaction_id' => '4208450740201411110007820472',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
transaction_id | string | 微信订单号 |
unsplit_amount | integer | 订单剩余待分金额 |
参阅 官方文档